package  
{
	import flash.display.BitmapData;
	import org.flixel.FlxSprite;
	
	/**
	 * ...
	 * @author Kyl
	 */
	public class HeatMapRect extends FlxSprite 
	{
		
		public function HeatMapRect(x:int, y:int, w:int, h:int) 
		{
			super(x, y);
			width = w < 5 ? 5 : w;
			height = h < 5 ? 5 : h;
			
			pixels = new BitmapData(width, height, true, 0x00000000);
			framePixels = pixels;
				
			for ( var i:int = 0; i < width; i++ )
			{
				for ( var j:int = 0; j < height; j++ )
				{
					pixels.setPixel32(i, j, 0x20802080);
				}
			}
		}
		
	}

}